Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LibAFL_QEMU: Don't require extra_tokens. #2576

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

domenukk
Copy link
Member

@domenukk domenukk commented Oct 1, 2024

This makes it easier to build an instance without extra_tokens.

@domenukk domenukk requested a review from rmalmain October 1, 2024 12:58
Copy link
Collaborator

@rmalmain rmalmain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, we can merge.
i'll definitely cfg the page filter member sooner or later

@@ -357,6 +357,8 @@ pub struct EdgeCoverageModuleBuilder<AF, PF, V> {
pub struct EdgeCoverageModule<AF, PF, V> {
variant: V,
address_filter: AF,
// we only use it in system mode at the moment.
#[cfg_attr(not(emulation_mode = "systemmode"), allow(dead_code))]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

more like it doesn't make sense to have this member in usermode.
i don't think we will ever need a page filter for normal processes.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so we should remove the entry here completely

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes.
didn't do it yet because i think we'll have to do code duplication because of this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants